// import com.alibaba.druid.sql.ast.SQLObject;
// import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlStatementImpl;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

// import java.util.Collections;
// import java.util.List;
#pragma once
#include "../statement/MySqlStatementImpl.h"

class MySqlLeaveStatement : virtual public MySqlStatementImpl
{
public:
  string_ptr labelName;

  MySqlLeaveStatement();

  MySqlLeaveStatement(string_ptr labelName);
  SHAREDOBJECT(MySqlLeaveStatement);

  // @Override
  void accept0(MySqlASTVisitor_ptr visitor);

  string_ptr getLabelName();

  void setLabelName(string_ptr labelName);

  // @Override
  SQLObject_list_ptr getChildren();
};
